Mem Pi v1.0
by program4
July 8, 2012
--------------------------------------------------------------------------------------
Calculators: TI-84+ or TI-84+ SE (may work on TI-83+ and TI-83+ SE)

Size: 2629 bytes
Extra RAM required: about 500
Shell: None
Variables used: string p, real variables D and K (only 3 variables used!)

Memorize Pi (or Mem Pi) is a program that can help you memorize the first 2000 digits
of pi (or even more with simple modifications)! You can start reciting pi from set
places (you don't have to start from the beginning). Although Mem Pi is written in
TI-BASIC, it runs at a fast speed and uses clean code. Only 3 variables are used!

Instructions:

Send PI.8xg to your calculator.
Ungroup the group by pressing [2nd][MEM][8][Right] and then selecting the group.
If this doesn't work, delete the group, and instead, send the 2 separate files in the
PI folder.
Now, select PI in the PRGM menu to run it.
Although the program requires 2 files to run, one is a string and won't clutter up
your program list.

To test yourself, choose a starting digit value using the left and right arrow keys.
I consider this an asset that most other programs don't have. It can get annoying to
have to type all 500 digits of pi that you know, but with this program, you can start from digit 451, for example, and just type 50 digits of pi. Note that the first digits
of pi are 14159... (the beginning "3." doesn't count). Press [2nd] or [ENTER].

Now, start entering the digits of pi, starting from "14159". The "3." should be
omitted. When you mess up, two lines will show up at the bottom displaying your score
(number of digits memorized) and the next 10 digits of pi. [ENTER] or [CLEAR] exits.

To just view the digits of pi, press [ALPHA] at the start screen. To view the next
100 digits of pi, press [Right] or [Down]. To view the previous 100 digits of pi,
press [Left] or [Up]. The number in the lower right corner indicates which block of
100 digits you are viewing. [CLEAR] exits.

Modifications:

I won't go into the specifics of how to do so, but you can test a different set of
digits (for example, the first 2000 digits of e or digits 2001-4000 of pi) by changing
the string p. Note that the string p must have length 2000, or you will have to modify
the program code itself to accept a different length for p.